﻿
using System;
using Abp.Application.Services.Dto;
using Abp.Extensions;
using Abp.Runtime.Validation;
using KDS.Mes.Mes.Onlines.Dtos;
using KDS.Mes.Mes.Onlines;
using KDS.Mes.Dto;

namespace KDS.Mes.Mes.Onlines.Dtos
{
	/// <summary>
    /// 上线信息查询Dto
    /// </summary>
    public class GetOnlineInput : PagedAndSortedInputDto, IShouldNormalize
    {
        //DOTO:在这里增加查询参数

		/// <summary>
	    /// 模糊查询参数
		/// </summary>
		public string FilterText { get; set; }

        public string LineId { get; set; }

        public string CartypeId { get; set; }

        public string StyleId { get; set; }

        public string SeatID { get; set; }

        public DateTime? Time1 { get; set; }

        public DateTime? Time2 { get; set; }

        /// <summary>
        /// 用于排序的默认值
        /// </summary>
        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting))
            {
			
		
                Sorting = "Id";
            }
        }
    }
}
